package org.jeecg.modules.xl.kuaimai.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * ${DESCRIPTION}
 * @author deco
 * @create 2024-11-07
*/

/**
 * 快麦ERP库存信息表
 */
@Data
@TableName(value = "xl_kuaimai_stock")
public class XlKuaimaiStock implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 主商家编码
     */
    @TableField(value = "mainouterid")
    private String mainouterid;

    /**
     * 平台商家编码
     */
    @TableField(value = "outerId")
    private String outerid;

    /**
     * 系统商品skuID
     */
    @TableField(value = "sysSkuId")
    private Long sysskuid;

    /**
     * 平台规格商家编码
     */
    @TableField(value = "skuOuterId")
    private String skuouterid;

    /**
     * 商品名称
     */
    @TableField(value = "title")
    private String title;

    /**
     * 商品简称
     */
    @TableField(value = "shortTitle")
    private String shorttitle;

    /**
     * 库存状态（1-正常，2-警戒，3-无货，4-超卖，6-有货）
     */
    @TableField(value = "stockStatus")
    private Integer stockstatus;

    /**
     * 当前商品的实际总库存
     */
    @TableField(value = "totalAvailableStockSum")
    private Long totalavailablestocksum;

    /**
     * 实际锁定数
     */
    @TableField(value = "totalLockStock")
    private Long totallockstock;

    /**
     * slt订单实际锁定数
     */
    @TableField(value = "sltLockStock")
    private Long sltLockStock;


    /**
     * slt实际可用库存
     */
    @TableField(value = "sltAvailableStock")
    private Long sltAvailableStock;



    /**
     * 实际可用数
     */
    @TableField(value = "totalAvailableStock")
    private Long totalavailablestock;

    /**
     * 次品数
     */
    @TableField(value = "totalDefectiveStock")
    private Long totaldefectivestock;

    /**
     * 可售数
     */
    @TableField(value = "sellableNum")
    private Long sellablenum;

    /**
     * 调拨在途数
     */
    @TableField(value = "allocateNum")
    private Long allocatenum;

    /**
     * 采购在途数
     */
    @TableField(value = "purchaseNum")
    private Long purchasenum;

    /**
     * 销退在途数
     */
    @TableField(value = "onTheWayNum")
    private Long onthewaynum;

    /**
     * 销退暂存区库存
     */
    @TableField(value = "refundStock")
    private Long refundstock;

    /**
     * 入库暂存区库存
     */
    @TableField(value = "purchaseStock")
    private Long purchasestock;

    /**
     * 系统主商品ID
     */
    @TableField(value = "sysItemId")
    private Long sysitemid;

    /**
     * 商品条形码
     */
    @TableField(value = "itemBarcode")
    private String itembarcode;

    /**
     * 商品图片
     */
    @TableField(value = "picPath")
    private String picpath;

    /**
     * 规格条形码
     */
    @TableField(value = "skuBarcode")
    private String skubarcode;

    /**
     * 商品规格属性
     */
    @TableField(value = "propertiesName")
    private String propertiesname;

    /**
     * sku图片
     */
    @TableField(value = "skuPicPath")
    private String skupicpath;

    /**
     * 品牌
     */
    @TableField(value = "brand")
    private String brand;

    /**
     * 商品分类
     */
    @TableField(value = "itemCategoryNames")
    private String itemcategorynames;

    /**
     * 商品类目
     */
    @TableField(value = "cidName")
    private String cidname;

    /**
     * 销售价
     */
    @TableField(value = "sellingPrice")
    private Double sellingprice;

    /**
     * 成本价
     */
    @TableField(value = "purchasePrice")
    private Double purchaseprice;

    /**
     * 市场价
     */
    @TableField(value = "marketPrice")
    private Double marketprice;

    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;

    /**
     * 产地
     */
    @TableField(value = "place")
    private String place;

    /**
     * 供应商编码 多个用,隔开
     */
    @TableField(value = "supplierCodes")
    private String suppliercodes;

    /**
     * 供应商名 多个用,隔开
     */
    @TableField(value = "supplierNames")
    private String suppliernames;

    /**
     * 仓库ID
     */
    @TableField(value = "wareHouseId")
    private Long warehouseid;

    /**
     * 库存修改时间
     */
    @TableField(value = "stockModifiedTime")
    private Long stockmodifiedtime;

    private static final long serialVersionUID = 1L;
}